import {menuApi} from "../../http/modules/menu";
import store from "../index";

export default {
  state: {
    // menuTree: [], // 菜单树
    navTree: [], // 导航菜单树
  },

  mutations: {
    clearNavTree(state) {
      state.navTree = []
    },
    setNavTree(state, navTree){  // 设置导航菜单树
      state.navTree = navTree;
    },
  }
}
